home *** CD-ROM | disk | FTP | other *** search
/ The Complete Utilities To…ka 501 Killer Utilities! / 501 Killer Utilities! (Macworld July 1995).cdr / Programming / OutOfPhase1.1 Source / OutOfPhase Folder / DisassemblyWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-28  |  2.0 KB  |  61 lines  |  [TEXT/KAHL]

  1. /* DisassemblyWindow.h */
  2.  
  3. #ifndef Included_DisassemblyWindow_h
  4. #define Included_DisassemblyWindow_h
  5.  
  6. /* DisassemblyWindow module depends on */
  7. /* MiscInfo.h */
  8. /* Audit */
  9. /* Debug */
  10. /* Definitions */
  11. /* Screen */
  12. /* TextEdit */
  13. /* EventLoop */
  14. /* Menus */
  15. /* WindowDispatcher */
  16. /* Memory */
  17. /* MainWindowStuff */
  18. /* GrowIcon */
  19. /* Main */
  20. /* GlobalWindowMenuList */
  21. /* FindDialog */
  22.  
  23. #include "Screen.h"
  24. #include "EventLoop.h"
  25. #include "Menus.h"
  26.  
  27. struct DisaWindowRec;
  28. typedef struct DisaWindowRec DisaWindowRec;
  29.  
  30. /* forward declarations */
  31. struct MainWindowRec;
  32.  
  33. /* create a new disassembly window.  the window is basically a non-editable text */
  34. /* field containing the Data passed in (linefeed = 0x0a).  the caller is responsible */
  35. /* for disposing of Data.  the function automatically notifies the main window */
  36. /* that it has been created. */
  37. DisaWindowRec*            NewDisassemblyWindow(char* Data, struct MainWindowRec* Owner);
  38.  
  39. /* dispose of the disassembly window.  this automatically notifies the main window */
  40. /* that it has been destroyed. */
  41. void                                DisposeDisassemblyWindow(DisaWindowRec* Window);
  42.  
  43. /* event handling routines for disassembly window */
  44. void                                DisassemblyWindowDoIdle(DisaWindowRec* Window,
  45.                                             MyBoolean CheckCursorFlag, OrdType XLoc, OrdType YLoc,
  46.                                             ModifierFlags Modifiers);
  47. void                                DisassemblyWindowBecomeActive(DisaWindowRec* Window);
  48. void                                DisassemblyWindowBecomeInactive(DisaWindowRec* Window);
  49. void                                DisassemblyWindowJustResized(DisaWindowRec* Window);
  50. void                                DisassemblyWindowDoMouseDown(OrdType XLoc, OrdType YLoc,
  51.                                             ModifierFlags Modifiers, DisaWindowRec* Window);
  52. void                                DisassemblyWindowDoKeyDown(unsigned char KeyCode,
  53.                                             ModifierFlags Modifiers, DisaWindowRec* Window);
  54. void                                DisassemblyWindowClose(DisaWindowRec* Window);
  55. void                                DisassemblyWindowUpdator(DisaWindowRec* Window);
  56. void                                DisassemblyWindowMenuSetup(DisaWindowRec* Window);
  57. void                                DisassemblyWindowDoMenuCommand(DisaWindowRec* Window,
  58.                                             MenuItemType* MenuItem);
  59.  
  60. #endif
  61.